package cn.jinhe.doc.service;

import java.util.List;

import cn.jinhe.doc.base.DaoSupport;
import cn.jinhe.doc.domain.Department;

public interface DepartmentService extends DaoSupport<Department>{

//	List<Department> findAll();
//
//	void delete(Long id);
//
//	void save(Department model);
//
//	Department getById(Long id);
//
//	void update(Department department);

	/**
	 * 查询顶级部门列表
	 * @return
	 */
	List<Department> findTopList();
	/**
	 * 查询子部门列表
	 * @return
	 */
	List<Department> findChildren(Long parentId);

}
